home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Container / Sources / Menus.fr < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.7 KB  |  73 lines  |  [TEXT/MPS ]

  1. //    File:        Menus.fr
  2. //
  3. //    Contains:    Resources for ODFContainer
  4. //
  5. //    Written by:    Mary Boetcher
  6. //
  7. //    Copyright:    © 1993-1996 by Apple Computer, Inc., all rights reserved.
  8.  
  9. #ifndef FWRESFIL_K
  10. #include "FWResFil.k"
  11. #endif
  12.  
  13. #ifndef DEFINES_K
  14. #include "Defines.k"
  15. #endif
  16.  
  17. #ifndef FWMENUS_FR
  18. #include "FWMenus.fr"
  19. #endif
  20.  
  21. //----------------------------------------------------------------------------
  22. //    Menus
  23. //----------------------------------------------------------------------------
  24.  
  25. resource FW_RMenuBar(kMenuBar)
  26. {
  27.     "About ODFContainer...",
  28.  
  29.     {
  30.         FW_RPullDownMenu
  31.         (
  32.             "Container"
  33.             {
  34.                 FW_RSubMenuItem
  35.                 (
  36.                     "Embed As"
  37.                     {
  38.                         FW_RTextItem(cAsFrame,        FW_kNoKeyEquivalent, "Frame"),
  39.                         FW_RTextItem(cAsLargeIcon,    FW_kNoKeyEquivalent, "Large Icon"),
  40.                         FW_RTextItem(cAsSmallIcon,    FW_kNoKeyEquivalent, "Small Icon"),
  41.                         FW_RTextItem(cAsThumbnail,    FW_kNoKeyEquivalent, "Thumbnail")
  42.                     }
  43.                 ),
  44.                 FW_RSubMenuItem
  45.                 (
  46.                     "Scaling Factor"
  47.                     {
  48.                         FW_RTextItem(cZoom50,    FW_kNoKeyEquivalent, "50%"),
  49.                         FW_RTextItem(cZoom100,    FW_kNoKeyEquivalent, "100%"),
  50.                         FW_RTextItem(cZoom200,    FW_kNoKeyEquivalent, "200%")
  51.                     }
  52.                 ),
  53.                 FW_RSeparatorItem(),
  54.                 FW_RTextItem(cSetBackgroundColor, FW_kNoKeyEquivalent, "Set Background Color...")
  55.             }
  56.         )
  57.     }
  58. };
  59.  
  60. //----------------------------------------------------------------------------
  61. //    Strings
  62. //----------------------------------------------------------------------------
  63.  
  64. resource FW_kMULTISTRING (kUndoStrings)
  65. {
  66.     kUndoResizeMsg,         "Undo Resize";
  67.     kRedoResizeMsg,         "Redo Resize";
  68.     kUndoEmbedAsMsg,         "Undo Embed As";
  69.     kRedoEmbedAsMsg,         "Redo Embed As";
  70.     kUndoSetBackColorMsg,    "Undo Set Background Color";
  71.     kRedoSetBackColorMsg,    "Redo Set Background Color";
  72. }
  73.